package edu.ahpu.propertymanage.serviceimpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import edu.ahpu.propertymanage.dao.PropCostDao;
import edu.ahpu.propertymanage.dataclass.PageSet;
import edu.ahpu.propertymanage.dataclass.PropCostData;
import edu.ahpu.propertymanage.pojo.PropCost;
import edu.ahpu.propertymanage.service.PropCostService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PropCostServiceImpl extends ServiceImpl<PropCostDao, PropCost> implements PropCostService {
    @Override
    public List<PropCostData> showPropCost(PageSet pageSet) {
        return this.baseMapper.showPropCost(pageSet);
    }

    @Override
    public Long countPropCost() {
        return this.baseMapper.countPropCost();
    }
}
